package com.itheima.test0905.test31;
//蛇类
public class snack extends reptiles{
    public snack(String weight, String food, boolean isPoision) {
        super(weight, food, isPoision);
    }

    public snack() {
    }

    public void noLeg(){
        System.out.println("蛇没有腿");
    }
}
